package com.farm.facade;

// 外观模式使用示例
public class FacadePatternDemo {
    public static void main(String[] args) {
        AgriculturalSystemFacade facade = new AgriculturalSystemFacade();

        String machineName = "Machine 1";
        // 使用简化的外观接口
        facade.startDailyOperation(machineName);
        System.out.println("\n...作业进行中...\n");
        facade.emergencyStop();
    }
}